IAlgorithm

Interface for all algorithms in the KompGeom library.

Parameters

Output

The type of output produced by the algorithm.

Inheritors

Types

Link copied to clipboard
interface IAlgorithmInfo

Companion interface that defines static-like functions that implementations should provide. Implementing classes should have a companion object that implements this interface. To provide the user with useful meta-information about the algorithm, such as its name, group, time complexity, and space complexity.

Functions

Link copied to clipboard
abstract fun run(): Output

Runs the algorithm and returns the output.